<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Веб-программирование, разработка сайтов, интернет магазинов. Веб-дизайн. Дизайн." />
<link href="css/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/slider2.js"></script>
<title>Astaldo Group</title>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-30313648-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<s:head />
<body>
	<!-- langchange -->
	<s:url var="en" action="lang" namespace="/action">
		<s:param name="request_locale">en</s:param>
		<s:param name="url">onework</s:param>
		<s:param name="id">${id}</s:param>
		<s:param name="from">onework.jsp</s:param>
	</s:url>
	<s:url var="ru" action="lang" namespace="/action">
		<s:param name="request_locale">ru</s:param>
		<s:param name="url">onework</s:param>
		<s:param name="id">${id}</s:param>
		<s:param name="from">onework.jsp</s:param>
	</s:url>
	<s:url var="cz" action="lang" namespace="/action">
		<s:param name="request_locale">cz</s:param>
		<s:param name="url">onework</s:param>
		<s:param name="id">${id}</s:param>
		<s:param name="from">onework.jsp</s:param>
	</s:url>
	<!-- langchange -->
<s:set var="here" value="%{'works'}" />

	<s:url var="company" action="lang" namespace="/action">
		<s:param name="url">company.jsp</s:param>
	</s:url>
	<s:url var="main" action="lang" namespace="/action">
		<s:param name="url">main.jsp</s:param>
	</s:url>
	<s:url var="service" action="lang" namespace="/action">
		<s:param name="url">service.jsp</s:param>
	</s:url>
	<s:url var="works" action="works" namespace="/action">
		<s:param name="url">works.jsp</s:param>
	</s:url>
	<s:url var="order" action="lang" namespace="/action">
		<s:param name="url">order.jsp</s:param>
	</s:url>


	<!-- header -->
	<jsp:include page="/pages/guest/header.jsp"></jsp:include>
	<!-- header -->
	
	
	<div class="container">
		<div id="right_block">
			<div class="technology">
				<div class="bg_d">
					<img class="img_view_site" src="i/v5.png" alt="" />
					<s:property value="getText('technology')" />
				</div>
				<p>
					<s:property value="work.TECHNOLOGY" />
				</p>
			</div>
			<ol id="left_menu">
				<!-- sections -->
				<s:iterator value="sections">
					<s:url var="secURL" action="works" namespace="/action">
						<s:param name="id">
							<s:property value="ID" />
						</s:param>
					</s:url>
					<li
						<s:if test="%{ID==work.SECTION_ID.ID}"> class="active_left_menu" </s:if>>
						<a href="${secURL}"><s:if
								test="#session.WW_TRANS_I18N_LOCALE.language=='en'">
								<s:property value="NAME" />
							</s:if> <s:if test="#session.WW_TRANS_I18N_LOCALE.language=='cz'">
								<s:property value="NAME_CZ" />
							</s:if> <s:if test="#session.WW_TRANS_I18N_LOCALE.language=='ru'">
								<s:property value="NAME_RU" />
							</s:if> </a>
					</li>
				</s:iterator>
				<!-- sections -->
			</ol>
		</div>
		<div class="poloska_1 r">
			<div class="tran_p"></div>
			<div class="stat_r"></div>
		</div>
		<div id="center_block_2">
			<div class="title_portfolio">
				<h2>
					<s:if test="#session.WW_TRANS_I18N_LOCALE.language=='en'">
						<s:property value="work.NAME" />
					</s:if>
					<s:if test="#session.WW_TRANS_I18N_LOCALE.language=='cz'">
						<s:property value="work.NAME_CZ" />
					</s:if>
					<s:if test="#session.WW_TRANS_I18N_LOCALE.language=='ru'">
						<s:property value="work.NAME_RU" />
					</s:if>
				</h2>
				<a target="_blank" href="<s:property value="work.LINK"/>"
					class="link_portfolio"><s:property value="work.LINK" /></a>
			</div>

			<div id="p2">
				<a class="link_portfolio_2" href="#"><img
					src="<s:property value="%{work.getViewLPhoto(1)}" />"
					longdesc="<s:property value="%{work.getViewPhoto(1)}" />" alt="" /></a>
				<a class="link_portfolio_2" href="#"><img
					src="<s:property value="%{work.getViewLPhoto(2)}" />"
					longdesc="<s:property value="%{work.getViewPhoto(2)}" />" alt="" /></a>
				<a class="link_portfolio_2" href="#"><img
					src="<s:property value="%{work.getViewLPhoto(3)}" />"
					longdesc="<s:property value="%{work.getViewPhoto(3)}" />" alt="" /></a>
			</div>
			<div id="p1">
				<div style="height: 380px;">
					<img class="working"
						src="<s:property value="%{work.getViewPhoto(1)}" />" alt="" />
				</div>
				<div class="arrow">

					<!-- nextprev -->
					<s:url var="next" action="onework" namespace="/action">
						<s:param name="id">${id}</s:param>
						<s:param name="next">${next}</s:param>
					</s:url>
					<s:url var="prev" action="onework" namespace="/action">
						<s:param name="id">${id}</s:param>
						<s:param name="prev">${prev}</s:param>
					</s:url>
					<s:if test="%{work.ID!=min}">
						<a class="prev" href="${prev}"><s:property
								value="getText('prevWork')" /></a>
					</s:if>
					<s:if test="%{work.ID!=max}">
						<a href="${next}" class="next"><s:property
								value="getText('nextWork')" /></a>
					</s:if>
					<!-- nextprev -->
				</div>
				<p class="description_portfolio_2">
					<s:if test="#session.WW_TRANS_I18N_LOCALE.language=='en'">
						<s:property value="work.ABOUT" />
					</s:if>
					<s:if test="#session.WW_TRANS_I18N_LOCALE.language=='cz'">
						<s:property value="work.ABOUT_CZ" />
					</s:if>
					<s:if test="#session.WW_TRANS_I18N_LOCALE.language=='ru'">
						<s:property value="work.ABOUT_RU" />
					</s:if>
				</p>
			</div>
		</div>
	</div>
	<!-- footer -->

	<jsp:include page="/pages/guest/footer.jsp"></jsp:include>
	<!-- footer -->
</body>
</html>